import java.io.File;

/**
 * Creat by TanLei
 * Description:
 * User:86183
 * Date:2022-06-16
 * Time:13:51
 */
//重命名
public class Test8 {
    public static void main(String[] args) {
        File file = new File("aaaaaaaaaaa.txt");
        File file1 = new File("bbbbbbbbbbbb.txt");
        file.renameTo(file1);
    }
}
